package interfaces;

import entity.Book;
/**
 * 管理员接口
 * @author yy
 *
 */
public interface Manager {
	/**
	 * 图书入库
	 * @param book
	 * @param inNum
	 * @return
	 */
	public abstract boolean bookIn(Book book, int inNum);
	/**
	 * 图书出库
	 * @param book
	 * @param outNum
	 * @return
	 */
	public abstract boolean bookOut(Book book, int outNum);
	
	/**
	 * 显示图书
	 * @param book
	 * @param inNum
	 */
	public abstract void showBook(Book[] books);
	
	/**
	 * 添加图书
	 * @param book
	 * @param inNum
	 */
	public abstract boolean addBook(Book[] books, Book book);
}
